<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);

class url_source_log_model extends model{
	
	public function __construct()
	{
		$this->db_config = pc_base::load_config('database');
		$this->db_setting = 'default';
		$this->table_name = 'url_source_log';
		$this->admin_db = pc_base::load_model('admin_model');
		$this->admin_userid = param::get_cookie('userid'); // 获取当前登录的管理员ID
		$this->siteid = get_siteid();//获取当前站点
		parent::__construct();
	}
}